﻿using Sustainalytics.ClientDW.Entities.Universes;
using System;

namespace Sustainalytics.Universes.Service
{
    public class UniverseDto
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public DateTime Created { get; set; }
        public DateTime LastUpdated { get; set; }
        public Guid AccountId { get; set; }

        private UniverseDto() { }

        public static object CreateWithIdName(Universe universe)
        {
            return new
            {
                Id = universe.Id,
                Name = universe.Name
            };
        }
    }
}
